Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /


Chapter 2 - Providers

This chapter describes providers, software entities that offer data-oriented services, and introduces the main types of providers. It also discusses the use of general provider functions, which you can use with any provider regardless of its type. You use these functions to

Later chapters in this book describe each type of provider in detail. Although the functions you use to open providers are general provider functions, they are included in the chapter describing individual providers. This chapter describes only the function you use to close a provider because you use the same function for all types of providers.

Before you read this chapter, you should read the chapter "Introduction to Open Transport" in this book. After reading this chapter, you can either read the chapter describing the provider whose services you are interested in. In order to use the functions described in this chapter, you must first use the OTInitOpenTransport function to initialize Open Transport. This function is described in the chapter "Configuration Management" in this book.


Chapter Contents
About Providers
Provider Functions
Modes of Operation
Provider Events
Using Providers
Controlling a Provider's Modes of Operation
Specifying How Provider Functions Execute
Setting a Provider's Blocking Status
Setting a Provider's Send-Acknowledgment Status
Sending and Receiving Data
Using Notifier Functions to Handle Provider Events
Transferring a Provider's Ownership
Closing a Provider
Providers Reference
Constants and Data Types
Event Codes
The TNetbuf Structure
Functions
Opening and Closing Providers
Controlling a Provider's Mode of Operation
Installing and Removing a Notifier Function
Sending Module-Specific Commands
Application-Defined Functions

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996